package org.example.domian;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Integer stockId;
    private Double price;
    private int amount;// 初始数量
    private Direction type;
    private int left;//还有多少没有匹配
    private Integer buyUserId;//要买的人的id
    private Integer sellUserId;//要卖的人的id

}
